package ec.edu.ucacue.siop.modelo.recurso.talentoHumano;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "organigrama")
public class Organigrama implements Serializable{
    
    private static final long serialVersionUID = 952810845336612905L;
    private long  id;
    private String area;
    private String subarea;

    @Id
    @GeneratedValue
    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }

    @Id
    @Column(length = 250)
    public String getArea() {
        return area;
    }
    public void setArea(String area) {
        this.area = area;
    }

    @Column(length = 250)
    public String getSubarea() {
        return subarea;
    }
    public void setSubarea(String subarea) {
        this.subarea = subarea;
    }
}
